From: Colin Walters Date: Fri, 11 Mar 2011 00:17:14 +0000 (-0500) Subject: gnome-shell-jhbuild: exit 1 if gnome-shell-real failed X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~8715 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=04473f607b8baf58160c6cbed11d5dc5ec88174c;p=gnome-shell.git gnome-shell-jhbuild: exit 1 if gnome-shell-real failed We need to be propagating the failure exit code so that gnome-session knows something went wrong. --- diff --git a/src/gnome-shell-jhbuild.in b/src/gnome-shell-jhbuild.in index 3774777ab..f10a576ff 100755 --- a/src/gnome-shell-jhbuild.in +++ b/src/gnome-shell-jhbuild.in @@ -548,3 +548,8 @@ try: finally: if options.replace and (options.perf or not normal_exit): restore_gnome() + +if normal_exit: + sys.exit(0) +else: + sys.exit(1)